package com.itheima.mapper;

import com.itheima.domain.Category;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CategoryMapper {

    /**
     * 查询导航栏
     * @return
     */
    @Select("SELECT * FROM tab_category ORDER BY cid")
    List<Category> findCategoryAll();
}
